package com.scala.oop.classDemo


/**
 * Created by Administrator on 2018/1/27/027.
 */
import scala.reflect.BeanProperty
class BeanPropertyDemo {

    @BeanProperty var name:String = _


   def test(): Unit ={
     this.setName("xiaoming")
     var result =   this.getName
    println(result)
   }
}
